Molecular-dynamics simulations of nickel oxide surfaces.