Climate change and the opportunity cost of conflict