Optimal Dye Sensitized Solar Cell and Photocapacitor Performance with Efficient Electrocatalytic SWCNH Assisted Carbon Electrode