A new study suggests certain foods might be better than probiotics at fighting stomach bugs