Macron’s former security chief sentenced to 3 years in prison