Effect of two vaccine doses in the SEIR epidemic model using a stochastic cellular automaton