Catalytic and photoelectrochemical performances of Cu–Zn–Sn–Se thin films prepared using selenization of electrodeposited Cu–Zn–Sn metal precursors