Approximating distributions and transient probabilities of Markov chains by Bernstein expolynomial functions.