Stochastic Resonance: Thoery and Applications