Excited lepton production at LEP and HERA