A comparison of the electrochromic behavior and the mechanical properties of WO sub 3 and NiO sub x thin film electrodes