Insight into the photocatalytic properties of diatomite@Ni/NiO composite for effective photo-degradation of malachite green dye and photo-reduction of Cr (VI) under visible light.