Thermal stability of xerogel films