Mechanism of copper(I)-catalyzed allylic alkylation of phosphorothioate esters: influence of the leaving group on α regioselectivity.