Probing the photo- and electro-catalytic degradation mechanism of methylene blue dye over ZIF-derived ZnO.