School spending is up, but teacher pay lags behind