Modification of carbon nanotubes and synthesis of polymeric composites involving the nanotubes