Ellipsometric and XPS analysis of the interface between silver and SiO2, TiO2 and SiNx thin films