An analysis of multiple interepisode durations using a unifying multivariate hazard model