U.S. oil majors downgraded by S&P on climate risk, earnings