Bayesian inference of infected patients in group testing with prevalence estimation