Selective extraction of semiconducting single-walled carbon nanotubes with a thermoresponsive polymer.