Microflowers of Pd doped ZnS for visible light photocatalytic and photoelectrochemical applications