The French cosmetics firm will keep its shops in Russia open but says it is “firmly committed” to Ukraine.