Sensitive Assays by Nucleophile-Induced Rearrangement of Photoactivated Diarylethenes