A DRIFTS study of the formation of surface groups on carbon by oxidation