plant resilience mechanisms