Dairy Crest has reported rising half-year profits after managing to pass on higher dairy costs to its customers.