Gravar-mail: Haplotype Block Partitioning and Tag SNP Selection Using Genotype Data and Their Applications to Association Studies