An electrochemically active green synthesized polycrystalline NiO/MgO catalyst: Use in photo-catalytic applications