Chitosan-Derived Magnetic Nanomaterials: Synthesis, Characterization, and Nitrite Adsorption in Water