Bayesian model selection for the study of Hardy–Weinberg proportions and homogeneity of gender allele frequencies