Plans for a nationwide crackdown on mobile phones in classrooms have been announced by the education secretary