The effects of a stochastic perturbation on the Bénard convection and an application of the stochastic resonance