Changing Labor-Market Opportunities for Women and the Quality of Teachers, 1957–2000