Controlling nanothread backbone structure through precursor design