Performance of the CMS Electromagnetic Calorimeter at the LHC