Adsorption of oxygen and formation of an oxide phase on a Cu(100) surface