The invention provides compounds of formula I F-L-Q (I) where F comprises a fluorophore capable of absorbing energy at an excitation wavelength and, in the absence of a quencher, emitting energy at an emission wavelength, which is different than the excitation wavelength Q comprises a quencher L comprises a linker moiety having two ends, one end being covalently bound to F and the other end being covalently bound to Q. The compounds are capable of undergoing a reversible reaction (1), provided below: (1) where Q+ is an oxidized form of Q representing the absence of a quencher, Ox comprises an oxidizing agent, which is capable of oxidizing Q to its oxidized form Q, and Red comprises a reducing agent, which is capable of converting Q back to its reduced form Q. The compounds can undergo photo-induced electron transfer when irradiated with energy and when Q exists in its oxidized form, Q+. The invention also provides methods of detecting and determining the presence of analytes and/or hydrogen peroxide in a sample, as well as a substrate that comprises the compound of formula I.