Gravar-mail: Training set optimization under population structure in genomic selection