For decades, the oil giant knew the dangers of climate change and did everything in its power to deny the threat of a warming planet.