The cycling of chemical elements through the living and nonliving parts of an ecosystem is