Stability of stochastic semigroups and applications to Stein's neuronal model