Preparation and characterization of N-doped ZnO and N-doped TiO2 beads for photocatalytic degradation of phenol and ammonia