Graphitization of dispersed carbonaceous material in metamorphic rocks