F-region ionization and heating during magnetic storms