What happens when an electron in a hydrogen atom moves from the excited state to the ground state?