Facile synthesis of Ag and Au nanoparticles utilizing chitosan as a mediator agent.