Monte Carlo calibration of the SMM gamma ray spectrometer for high energy gamma rays and neutrons