Label-free optical detection of bioelectric potentials using electrochromic thin films