Terrestrial gamma-ray flash electron observations by the SAMPEX satellite and their implications