Palladium-catalyzed oxidative cyclization of 1,5-dienes. Influence of different substitution patterns on the regio- and stereochemistry of the reaction