Essays on teacher preferences, teacher quality, and teacher expectations