Synthesis, photoluminescence, and electrochromic properties of wholly aromatic polyamides bearing naphthylamine chromophores