Conjugated polymer sorting of semiconducting nanotubes and their electronic applications