The adsorption of gases on nickel oxide