Regio- and stereoselectivity of allylic alkylation