Calibration of a medical laser system