Unilever booked higher sales in its food and refreshment units, with both businesses also reporting improved margins in the first half.