Irish food group Glanbia has recorded an increase in first-half earnings and reiterated its profit guidance for the full year.