Praise for diversity: A functional approach to reduce risks in urban forests