Mechanistic studies on palladium-catalyzed coupling reactions