Enhanced photoelectrocatalytic degradation of ammonia by in situ photoelectrogenerated active chlorine on TiO2 nanotube electrodes.