Synthesis of pH-responsive nanocomposite microgels with size-controlled gold nanoparticles from ion-doped, lightly cross-linked poly(vinylpyridine).