Electron-pion separation in a highly segmented electromagnetic calorimeter designed for the ALEPH experiment