Reversing reactivity: stereoselective desulfurative 1,2-trans-O-glycosylation of anomeric thiosugars with carboxylic acids under copper or cobalt catalysis.