Hopes rise among green campaigners after president mentions 'the destructive power of a warming planet' in victory speech