Bayesian analysis of multivariate binary data