Gravar-mail: Selective photoinactivation of protein function through environment-sensitive switching of singlet oxygen generation by photosensitizer