Preparation of chitosan nanoparticles from shrimp shells and investigation of its catalytic effect in diastereoselective synthesis of dihydropyrroles.