Determination of the lamellar structure of partially crystalline polymers by direct analysis of their small-angle X-ray scattering curves