A 21-year-old woman presents with vaginal itching, dysuria, and a frothy, malodorous yellow-green discharge.Wet prep shows motile pear-shaped organisms.What is the treatment of choice?