trophic structure of an ecosystem