R2s for Correlated Data: Phylogenetic Models, LMMs, and GLMMs