Bayesian Inference of Recursive Sequences of Group Activities from Tracks