Magnetic properties of Fe/NiO/Fe(001) trilayers