Proton beam energy monitoring with radiation-hard crystal scintillators