Effect of titania content on the optical properties of dye-doped hybrid sol-gel coatings