Lepton energy spectra in e+e- annihilation and other processes