Dimensions of ecosystem complexity: Heterogeneity, connectivity, and history