Preparation and characterization of magnetic Fe3O4–chitosan nanoparticles for cellulase immobilization