Theoretical study on the mechanism of H2 activation mediated by two transition metal thiolate complexes: homolytic for Ir, heterolytic for Rh.