Electrochromism of nickel-based sputtered coatings