Two-sided reflection of Markov-modulated Brownian motion