Adaptation of perennial plants to episodic drought: impact on ecosystems