A new method for estimating effective population sizes from a single sample of multilocus genotypes