Carrefour has warned that its first-half operating profit is expected to have slumped by 23% due to problems in the French retailer's domestic market.