Raman spectroscopy of single-walled carbon nanotubes: probing electronic and chemical behavior