Integrated removal of nonionic surfactant and cobalt(II) from plating rinse water