French president Marcon warns against dangers of nationalism