A landmark study has found pupils who are banned from using their phones in school do not go on to get better grades.