Greene King has reported a fall in half-year net profits, but rising sales against a "challenging backdrop".