Chitosan-based microparticles for immobilization of TiO2 nanoparticles and their application for photodegradation of textile dyes