Bohr believed that light is emitted by a electron when