How French retail king Carrefour reversed course to make money