Mn-Cd-S@amorphous-Ni3S2 hybrid catalyst with enhanced photocatalytic property for hydrogen production and electrocatalytic OER