CMA CGM Swings to First Half Profit