Environmental, morphological, and productive characterization of Sardinian goats and use of latent explanatory factors for population analysis.