Balancing economic and ecological functions in smallholder and industrial oil palm plantations