Irish food company Kerry Group has posted an increase in first-half earnings and sales as it successfully hiked prices to mitigate the effect of rising food commodity costs.