EXAFS and IR analysis of electrochromic NiOsubx/NiOsubxHsuby thin films