Carboxymethyl chitosan as a matrix material for platinum, gold, and silver nanoparticles.