Density- and trait-mediated effects of a parasite and a predator in a tri-trophic food web