Synthesis of biomimetic heme precursors