Condition monitoring and state classification of gearboxes using stochastic resonance and hidden Markov models