Unusual Influence of the Structures of Transition Metal Complexes on Catalytic C–S and C–Se Bond Formation Under Homogeneous and Heterogeneous Conditions