Finite-sample properties of the bootstrap estimator in a Markov-switching model