SN2' versus SN2 reactivity: control of regioselectivity in conversions of Baylis-Hillman adducts.