Coexistence of multiple food chains in a heterogeneous environment: interactions among community structure, ecosystem functioning, and nutrient dynamics.