Video analysis of behaving mice