Low relative pay and high incidence of moonlighting play a role in the teacher shortage, particularly in high-poverty schools