US pork processor Smithfield Foods has reported higher half-year profits, pointing to demand at home and abroad.