Variance Components Structures for the Extreme-Value and Logistic Distributions with Application to Models of Heterogeneity