Morphogenesis of liquid crystal topological defects of during the nematic-smectic A phase transition