Associated British Foods has said it expects "substantial" growth in full-year earnings after its first-half results benefited from a strong performance by its sugar division and Primark.