Structural, optical and electrochromic properties of nickel oxide thin films grown from electrodeposited nickel sulphide