Studies on spray deposited tungsten oxide thin films doped with titanium and niobium for electrochromic devices