Students in the poorest middle schools have least access to qualified teachers