Gravar-mail: Conditions for the validity of SNP-based heritability estimation