Quorum vs. diffusion sensing: a quantitative analysis of the relevance of absorbing or reflecting boundaries