Synthesis of platinum and platinum–ruthenium-modified diamond nanoparticles