Construction of a FRET-based ratiometric fluorescent thiol probe.