On the dynamics of an SIR epidemic model with a saturated incidence rate