X-ray diffraction without sample preparation