Quantum dots and polymer hybrid composites: new insights into fluorescence switch and turn-on anion sensing