Graphitization of diamond at zero pressure and at a high pressure