Energetic electrons accompanying terrestrial gamma-ray flashes