Energy distribution of fast nitrogen atoms in the nighttime terrestrial thermosphere