Theoretical study on Pd-catalyzed cross-coupling reactions