Detecting selection using Extended Haplotype Homozygosity-based statistics on unphased or unpolarized data