Characterizing carbon nanotube samples with resonance Raman scattering