Extreme climatic events shape arid and semiarid ecosystems