Nanoporous membranes with cellulose nanocrystals as functional entity in chitosan: removal of dyes from water.