how does antibacterial work