The electrochromic properties of hydrous nickel oxide