Spectrometer for X-ray emission experiments at FERMI free-electron-laser