A new study has predicted which crops will thrive and wilt as a result of climate change in the coming decades.