Detonation Transformation and Diamond Synthesis