what happens to an Atom when it gains two electrons