Functionalization of graphite oxide with magnetic chitosan for the preparation of a nanocomposite dye adsorbent.