Disinfection and formation of disinfection by-products in a photoelectrocatalytic system.