Electromagnetic calorimeters of the CMD-3 detector