Rainbow refractometry applied to radially inhomogeneous spheres: the critical case of evaporating droplets.