X-ray diffraction with a four-reflection monochromator