Preparation and Application of Chitosan-Based Membrane: Focusing on Dye Removal