Measuring black carbon spectral extinction in the visible and infrared