CNOOC's first-half profit more than triples