Bayesian inference for hidden Markov Susceptible-Infected-Removed (SIR) model