Spiropyran-based hyperbranched star copolymer: synthesis, phototropy, FRET, and bioapplication.