Rapid functionalization of metal nanoparticles by moderator-tunable ligand-exchange process for biosensor designs