A Stochastic Optimal Control Perspective On Affect- Sensitive Teaching