The graphite-to-diamond transformation