Color changes in chitosan and poly(allyl amine) films upon metal binding