Adaptive omnivory and species coexistence in tri-trophic food webs