Transition State Clustering for Interaction Segmentation and Learning