Effect of explosion conditions on the structure of detonation soots: Ultradisperse diamond and onion carbon