Asymptotic properties of the maximum likelihood estimation in misspecified hidden Markov models