Teacher supply and the market for teachers