Design and magnetic properties of new compounds containing iron 2D building blocks of the perovskite type