UK-based chilled foods group Bakkavor has sold its businesses in France and Spain to French co-op Agrial.