Australian bakery group KH Foods has agreed to sell its grocery cake business to rival George Weston Foods, a subsidiary of UK-based Associated British Foods.