Polymer-capped gold nanoparticles by ligand-exchange reactions