Improved electrocatalytic activity of electrodeposited Ni3S4 counter electrodes for dye- and quantum dot-sensitized solar cells