Integrating trait and evolutionary differences untangles how biodiversity affects ecosystem functioning