Chemical attachment of dibromocarbene to carbon nanotubes