High-resolution detectors for soft X-ray spectroscopy