how long does tinidazole take to work