Hydrated manganese oxide as a counter-electrode material for an electrochromic optical switching device