Analysis of cosmic materials: Results on carbon and silicate laboratory analogues