X-ray powder diffractometer