CeBr3–based detector for gamma-ray spectrometer upgrade at JET