Method for system-independent material characterization from spectral X-ray CT