Calibration of the Electromagnetic Calorimeter of the CMS experiment