Facile preparation of size-controlled gold nanoparticles using versatile and end-functionalized thioether polymer ligands.