Coated carbon nanotubes form the basis of smart new material