Chemical changes of organic compounds in chlorinated water