The structure of thin NiO(100) films grown on Ni(100) as determined by low-energy-electron diffraction and scanning tunneling microscopy