Bivariate semi-Markov reward chain and credit spreads