Improved NaI scintillation spectrometer for the study of continuous X-ray spectra