A facile method to modify carbon nanotubes with nitro/amino groups