Analyzing videos of teaching