Enantio- and regiocontrol in palladium- and tungsten-catalyzed allylic substitutions