US food giant Heinz has booked an increase in profit in the first half of the year and reiterated its full-year sales and earnings guidance.