Pupils shouldn't be criticising Boris Johnson in class, says education secretary