Commissioning of the CMS electromagnetic calorimeter and operational experience