Synthesis, photoluminescence, and electrochromism of novel aromatic poly(amine-1,3,4-oxadiazole)s bearing anthrylamine chromophores