Hess posts profit driven by higher crude oil production