Block Copolymers as Dispersants for Single-Walled Carbon Nanotubes: Modes of Surface Attachment and Role of Block Polydispersity.