Functionalized porous magnetic cellulose/Fe3O4 beads prepared from ionic liquid for removal of dyes from aqueous solution.