Gravar-mail: Generalized correlation coefficient for genome-wide association analysis of cognitive ability in twins