Associated British Foods has seen an increase in annual profits as surging commodity costs drove price increases at its grocery unit and consumers increasingly turned to Primark, the UK firm's budget clothing chain.