Spectral Descriptors for Data Clustering and Classification