TreeHouse Foods has booked an increase in first-half profits, boosted by sales from its acquisition of Sturm Foods in the first quarter.