How pine beetles can predict the future of climate change