Essays on the Teachers' Labor Market