Classifying nanostructured carbons using graphitic indices derived from Raman spectra