X-ray diffraction of the smectic phases of