Banning mobile phones from schools has the effect of giving pupils an extra week's education over the course of an academic year, researchers say.