Mechanism of formation of supramolecular DNA-templated polymer nanowires.