Studies on electrochromic smart windows based on titanium doped WO3 thin films