X-ray scattering from dense plasmas