Removing dissolved organic contaminants from water