Formation and encapsulation of gold nanoparticles using a polymeric amine reducing agent