The analysis of transition times in multistate stochastic processes using proportional hazard regression models