Text this: Harnessing the Dual photocatalytic and electrochemical capabilities of pure and Ni-Doped MgO nanostructures for diclofenac detection