Synthesis of sulfenates of sugar derivatives