What is the role of defects in single-walled carbon nanotubes for nonlinear optical property?