France bans student's use of smartphones