Pricing Credit Derivatives In A Markov-Modulated Reduced-Form Model