On the classification of defects in the smectic phases Sm A and Sm C