Selective oxidation of glycerol to tartronic acid over Pt/N-doped mesoporous carbon with extra framework magnesium catalysts under base-free conditions.