A community ecology perspective on variability in complex systems: The effects of hierarchy and integration