Almost sure parameter estimation and convergence rates for hidden Markov models