Greene King has reported that its beer sales have bucked a decline in the UK market over the summer.