Ecological interactions in agroforestry systems