Interaction of a Dimeric Single-Stranded DNA-Binding Protein (G5P) with DNA Hairpins. A Molecular Beacon Study