Restricting phone use at school does not improve grades or mental well-being in young people, a landmark study has found.