Variation in functional trait diversity from tropical to cold-temperate forests and linkage to productivity