Understanding mercapto ligand exchange on the surface of FePt nanoparticles.