Development of template-mediated reactive probes for the fluorescence detection of nucleic acids in cells