A hazard model for a multistate discrete stochastic process: a case study coming from women's life courses