Approaches to modelling the uptake of water and nutrients in agroforestry systems