Colorimetric and fluorometric dual-mode detection of aniline pollutants based on spiropyran derivatives