How do food webs help us understand the flow of matter and energy in an ecosystem?