Domestic-animal genomics: deciphering the genetics of complex traits