Quasi-deterministic approximation, metastability and stochastic resonance