Synthesis of aromatic polyamides containing anthracene units via a precursor polymer approach