Interactions of single-walled carbon nanotubes (SWCNTs) and polymers with stiff and flexible backbones.