Chitosan- and Alginate-Based Hydrogels for the Adsorption of Anionic and Cationic Dyes from Water