Transparent high refractive index nanocomposite thin films