Synthesis of homogeneous FePt nanoparticles using a nitrile ligand.