Farming with trees: a balancing act in the shade