A functional approach to Hill's numbers for assessing changes in species variety of ecological communities over time