Catalytic activity of ruthenium(II) and rhodium(I) complexes with linear macromolecular ligands