Understanding the role of intra- and intermolecular interactions in the formation of single- and double-helical structures of aromatic oligoamides: a computational study.