Tunable regioselectivity associated with the reaction of 2,3-dihalo-1-(phenylsulfonyl)-1-propenes with ambident nucleophilic reagents