Graphitization of CVD diamond grain boundaries during transient heat treatment