Cargill has reported a fall in half-year profits but said earnings improved in three-quarters of its business in its second quarter.