Estimating contemporary effective population size from SNP data while accounting for mating structure.