Emotion regulation and need satisfaction shape a motivating teaching style