What happened to the outer electrons of H and O to form water?