Green ZnO nanorod material for dye degradation and detoxification of pharmaceutical wastes in water