Improving Bayesian population dynamics inference: a coalescent-based model for multiple loci.