Studies on the synthesis of corrins and related ligands