The error exponent for the noiseless encoding of finite ergodic Markov sources