Determination of refractive index and concentration of iodine solutions using opals