Non-invasive depth profiling by space and time-resolved Raman spectroscopy