Persistence and extinction for a class of stochastic SIS epidemic models with nonlinear incidence rate