X Ray Diffraction by Disordered and Ordered Systems