Electrochromic switching and nanoscale electrical properties of a poly(5-cyano indole)-poly(3,4-ethylenedioxypyrrole) device with a free standing ionic liquid electrolyte