Calibration of the photon spectrometer PHOS of the ALICE experiment