Cost of resilience to climate change: migration, conflicts, and epidemics in imperial China | Synapse