Effect of the topology on the mechanical properties of porous iron immersed in body fluids