Ab initio study of the Fe∕NiO interface: Structural and magnetic properties