A resonance Raman study of carboxyl induced defects in single-walled carbon nanotubes