SNPs and snails and puppy dogs' tails: analysis of SNP haplotype data using the gamete competition model