Using force spectroscopy analysis to improve the properties of the hairpin probe