Adsorption-induced relaxation of Ni(001)-c(2×2)-O