Electrochromic photodetectors: toward smarter glasses and nano reflective displays via an electrolytic mechanism.