Palladium-catalyzed tandem allylic substitution/cyclization and cascade hydrosilylated reduction: the influence of reaction parameters and hydrosilanes on the stereoselectivity