Spectroscopy of single- and double-wall carbon nanotubes in different environments.