Gravar-mail: Dirichlet process model for joint haplotype inference and GWAS