Hetero diels-alder chemistry for the functionalization of single-walled carbon nanotubes with cyclopentadienyl end-capped polymer strands.