A latitudinal gradient in dimensionality of biodiversity