Modeling the optical properties of WO3 and WO3–SiO2 thin films