Aliphatic and Aromatic Polyamides: Synthesis, Properties and Potential Applications