Single- and multi-walled carbon nanotubes for solar cell applications