Light-harvesting function of β -carotene inside carbon nanotubes