Vertically transmitted fungal endophytes: different responses of host‐parasite systems to environmental conditions