Global warming will displace millions of people, trigger falling crop yields, stoke conflict and cost trillions of dollars in lost economic output, a United Nations report will warn.