Non-commutative Markov chains