Electron heating rates in the E and lower F regions