Local Violence, Educational Attainment, and Teacher Pay