The interaction of oxygen with niobium studied by XPS and UPS