Influence of the Azimuthal Anchoring Energy on the Smectic Layer Formation in Ferroelectric Liquid Crystals