Tree hidden Markov model for learning epigenetic states in multiple cell types