Structural characterization of nickel oxide