Microwave-assisted one-pot synthesis of 1,6-anhydrosugars and orthogonally protected thioglycosides.