Summarizing Event Sequences with Serial Episodes: A Statistical Model and an Application