Effect of temperature, particle size and percentage deacetylation on the adsorption of acid dyes on chitosan