Synthesis of 1,6-thioanhydro-D-glucitol