Sheffield University students are to attend compulsory lectures on climate change so they can learn how to live in a “sustainable” way.