Credit risk migration non-homogeneous semi-Markov models: a reliability approach