Dynamical behavior of a stochastic {SIRS} epidemic model