Carbon nanotubes for solar energy conversion