Ecosystem structure emerges as a strong determinant of food-chain length in linked stream-riparian ecosystems