Composition and phase control of Ni/NiO nanoparticles for photocatalytic degradation of EDTA