Influence of refractive index in particle sizing by light extinction spectrum