Enhanced the electrochemical performance of CoMgS nanocomposite electrode with the doping of ZnO for supercapacitor-battery hybrid device and photochemical activity