Conformations of peptoids in nanosheets result from the interplay of backbone energetics and intermolecular interactions