Ergodic decomposition of Markov chains