Resilience of floodplain ecosystems in a semi-arid environment