Influence of oxygen adsorption on the surface potential of a metal oxide semiconductor