Sol-gel chemistry, templating and spin-coating deposition: A combined approach to control in a simple way the porosity of inorganic thin films/coatings