Magnetic properties of porous iron compacts