Nickel-doped cobalt ferrite nanoparticles: efficient catalysts for the reduction of nitroaromatic compounds and photo-oxidative degradation of toxic dyes.