Beheading of French teacher an attack on 'the republic and its values', says Macron