A rise in second-quarter earnings was not enough to stem a fall in half-year profits at US food group Hormel Foods.