Unsupervised analysis of NIRS spectra to assess complex plant traits: leaf senescence as a use case