TEST BEAM PERFORMANCE OF THE ELECTROMAGNETIC CALORIMETER OF THE NOMAD EXPERIMENT.