pH-responsive and antibacterial properties of self-assembled multilayer films based on chitosan and tannic acid.