Poly(2,5-dimethoxyaniline) based electrochromic device