Ecopetrol to buy Hocol Petroleum