Insights from past millennia into climatic impacts on human health and survival