what is flagyl commonly prescribed for