Matrix-Analytic Methods for Markov Chains on a Tree Structure