Oxidation of nickel and transport properties of nickel oxide