Degradation behavior of chitosan chains in the 'green' synthesis of gold nanoparticles.