Molecular structure-dynamics relationships in glassy poly(isophthalamide)s as revealed by wide angle x-ray scattering, dielectric loss spectroscopy, and molecular modelling.