Near-infrared spectroscopy for the distinction of wood and charcoal from Fabaceae species: comparison of ANN, KNN AND SVM models