US jam-to-salsa maker TreeHouse Foods has booked a fall in half-year profits despite rising sales as higher commodity costs ate into earnings.