1000 years of population, warfare, and climate change in pre-Columbian societies of the Central Andes