Estimation of the density distribution from small-angle scattering data