SABMiller has posted a half-year rise in profits, but net sales were nearly flat as "challenging" Europe and North America offset gains in Africa and Latin America.