Carlsberg has reported a fall in its first half earnings, although figures have beaten industry forecasts.