Modelling resource-driven movements of livestock herds to predict the impact of climate change on network dynamics