Let Me Teach You: Pedagogical Foundations of Feedback for Language Models