Distances between populations based on multivariate genetical effects