The Bayesian Superorganism: Collective Probability Estimation in Swarm Systems