TG/DTA-EGA-MS studies on titania precursors with low content of organics for porous thin films of TiO2