Grazing incidence time-resolving spectrograph for magnetic fusion plasma diagnostics