Measurement and evaluation of the effects of pH gradients on the antimicrobial and antivirulence activities of chitosan nanoparticles in Pseudomonas aeruginosa