Xps studies of surface charge on nickel oxide