3-pyridylazoindole derivatives as photoswitches: synthesis, photoswitching behavior research, and applied to “on-off” fluorescence sensor for Cu2+ combined with theoretical calculations