Drought-to-flood transitions