The rise and fall of mathematical enrolments in the French educational system : a case study