High school bars use of smartphones for teachers and students