Bridging conditional and marginal inference for spatially referenced binary data.