Synthesis of porphyrins and diporphyrins and their biomimetic applications