Self-assembly of multidomain peptides: balancing molecular frustration controls conformation and nanostructure.