Ergodicity of stochastic smoking model and parameter estimation