One-way conformation memory polymers for unidirectional removal of dyes and hot wastewater reuse from textile effluents