Curved diamond-crystal spectrographs for x-ray free-electron laser noninvasive diagnostics.