The deal comes as Unilever plans to offload some food brands to focus on care and beauty.