Hidden Markov Models in Molecular Biology: New Algorithms and Applications