Synthesis, characterization, and antibacterial activity of N,O-quaternary ammonium chitosan.