Reagents for swimming pools