A Bayesian approach for monitoring epidemics in presence of undetected cases