X-ray spectrometers