Stabilizing intermediate-spin state in iron(III) porphyrins