The Labor Market for Teachers under Different Pay Schemes