Statistical properties for mixing Markov chains with applications to dynamical systems