Design of an efficient antifouling strategy for underwater optical window based on chlorine generation