Pupil mobility and educational achievement in schools: an empirical analysis