The presence of ammonia causing breakpoint chlorination promoted the formation of trihaloacetaldehydes and trihalomethanes