Effect of molecular packing and hydrogen bonding on the properties of epoxy-amido amine systems