An automated light scattering system and a method for the in situ measurement of the index of refraction of soot particles