Teacher Compensation and the Supply of Teachers