Student performance improves when teachers given incentives upfront