Identification and clustering of event patterns from in vivo multiphoton optical recordings of neuronal ensembles