The use of magnetic multiwalled carbon nanotubes functionalized with chitosan for nitrate removal from wastewater