Positive teacher–student relationships go beyond the classroom, problematic ones stay inside