Electrochromic nickel oxide thin films deposited under different sputtering conditions