S&P lifts Ecopetrol to investment-grade after sovereign boost