Heteroaromatic Polyamides with Improved Thermal and Mechanical Properties