Metal exchange reactions in cadmium complexes with porphyrins of various structures