Mean-field backward stochastic differential equations on Markov chains