The interaction of oxygen with Ni(111) and the reduction of the surface oxide by carbon monoxide and by hydrogen