Bulk and single-molecule characterization of an improved molecular beacon utilizing H-dimer excitonic behavior