Balloon measurements of the energy spectrum of cosmic electrons between 1 and 25 Gev