Calibration of a silicon crystal for absolute nuclear spectroscopy