Synthesis and characterization of polyamides and poly(amide-imide)s derived from 2,2-bis(4-aminophenoxy) benzonitrile