Synthesis and characterization of novel polyamides carrying NLO moieties