Preparation of chitosan nanoparticles by spray drying, and their antibacterial activity