A one-dimensional lattice-gas model for simulating diffusion in channel pores with side pockets: The analytical approach and kinetic Monte Carlo technique