Sugar-Based Phase-Selective Supramolecular Self-Assembly System for Dye Removal and Selective Detection of Cu2+ Ions