Synthesis of ultradispersed diamond in detonation waves