Tough conditions in the UK beer and pub sector have seen Greene King report a slump in profit for its first half.