Evolution of termite functional diversity: analysis and synthesis of local ecological and regional influences on local species richness