Fourier transform methods for studying X-ray scattering from lamellar systems