Two-state theory of nonlinear stochastic resonance.