Calibration and performance of the CHORUS calorimeter