The template synthesis of dimetallic complexes