Model-based clustering of time-dependent categorical sequences with application to the analysis of major life event patterns