what happens to the energy of an electron as it goes farther from the nucleus ?​