US food company J M Smucker has announced the sale of its Brazilian operations to US food and agribusiness Cargill.