Drought and flooding have distinct effects on herbivore-induced responses and resistance in Solanum dulcamara.