The small-angle scattering of distorted lamellar structures