Tuning the photocatalytic activity of ZnO by TM (TM = Fe, Co, Ni) doping