The impact of the amide connectivity on the assembly and dynamics of benzene-1,3,5-tricarboxamides in the solid state