Electrochromic Behavior of Ionically Self-Assembled Thin Films