Prediction of risks of sequence of events using multistage proportional hazards model: a marginal-conditional modelling approach