French retail giant Carrefour has confirmed that its president, CEO and director, Daniel Bernard, is to resign after 13 years as head of the company.