British consumer goods giant Unilever posted higher profit and revenue in the first half of this year and is maintaining its outlook for all of 2025.