Transformations of functional groups attached to cyclopentadienyl or related ligands in group 4 metal complexes