X-ray diffraction