Stochastic volatility models as hidden Markov models and statistical applications