Light Scattering by Deformation of the Plane Texture of Smectic and Cholesteric Liquid Crystals