Core photoelectron spectra of some inorganic Ni compounds