Thermodynamic calculations of the graphitization of carbon blacks