On a class of non-homogeneous Markov chains