Electrochemical synthesis of Costa-type cobalt complexes