Spectral rarefaction: linking ecological variability and plant species diversity