Concentration of measure and mixing for Markov chains