Tuning the stereoelectronic properties of 1-sulfanylhex-1-enitols for the sequential stereoselective synthesis of 2-deoxy-2-iodo-β-D-allopyranosides.