Thermal stability and electrical studies on hybrid and composite sol–gel quasi-solid-state electrolytes for dye-sensitized solar cells