Palladium-Catalyzed Cyclization via Carbopalladation and Acylpalladation