Studies on the chemoselectivity and diastereoselectivity of samarium(II) iodide mediated transformations of carbohydrate derived ω-halo-α,β-unsaturated esters