On optical depth profiling using confocal Raman spectroscopy