Depletion of fossil fuels and the impacts of global warming