According to the Bohr model of an atom, what happens when an electron moves from the second energy level to the third energy level and then back to the second energy level?