UK retailer The Midcounties Co-operative has booked an increase in first-half earnings but issued a warning on the "competitive" trading environment for the remainder of the year.