Performance of the CERES Electron Spectrometer in the CERN SPS Lead Beam