Fabrication of Mesoporous CoS2 Nanotube Arrays as the Counter Electrodes of Dye-Sensitized Solar Cells.