Anglo-Dutch food and consumer goods company Unilever has said it has agreed to sell its German cheese unit to French dairy group Bongrain.