The effect of a metallic Ni core on charge dynamics in CdS-sensitized p-type NiO nanowire mesh photocathodes