Gene prediction in eukaryotes with a generalized hidden Markov model that uses hints from external sources