Rain-fed agriculture thrived despite climate degradation in the pre-Hispanic arid Andes