Process for the production of dispersions of thermally oxidised carbon-based materials