Electron/hadron discrimination in the hyperon semileptonic decay experiments performed at the cern SPS