Performance of the PrimEx Electromagnetic Calorimeter