The Coronal Diagnostic Spectrometer for the solar and heliospheric observatory