Antibacterial properties of chitosan