France's Macron says knife attacker targeted freedom of expression