The states of water in tryptophan grafted hydroxypropyl methylcellulose hydrogels and their effect on the adsorption of methylene blue and rhodamine B.