Aggressive cost-cutting initiatives have paid dividends at Heinz after the US food group reported improving first-half profitability compared to a year earlier.