French retail giant Carrefour has reported a 1.3% rise in first-half sales, narrowly beating analysts' estimates.