Ultraviolet photon absorption in single- and double-wall carbon nanotubes and peapods: Heating-induced phonon line broadening, wall coupling, and transformation