Hexavalent chromium removal from aqueous solution using functionalized chitosan as a novel nano-adsorbent: modeling and optimization, kinetic, isotherm, and thermodynamic studies, and toxicity testing