Teaching and Incentives: Substitutes or Complements?