Bayesian estimation of population size and overlap from random subsamples