how does metronidazole work