when hydrogen atom absorbs a photon, and an electron moves level 1 to level 2, what happens to the energy of the atom?