Electrochromic Properties of MnO2-Based Layered Polymer Nanocomposite