Optical diagnostic for soot particles