Superlative photoelectrochemical properties of 3D MgCr-LDH nanoparticles influencing towards photoinduced water splitting reactions