Theory of Borazine-Derived Nanothreads: Enumeration, Reaction Pathways, and Piezoelectricity.