X-ray diffraction evidence for the formation of a discotic phase during graphitization