Unravelling local environments in mixed TiO2–SiO2 thin films by XPS and ab initio calculations