Accurate formulae for the calculation of high energy electron bremsstrahlung spectra