Structural, morphological and optical engineering of ZnO through nickel doping for perovskite photosensor application | Synapse