In-situ electro-polymerization of fluorescent electrochromic thin films based on charge-transfer complexes