A theoretical study of C-H activation by transition metal complexes