Spectroscopy of single-walled carbon nanotubes with atomic nanowire filling