Palladium-Catalyzed Alkene Difunctionalization Reactions: Synthesis of Functionalized Heterocycles and Mechanistic Investigation