A thermodynamic study of ferrocene modified hairpin oligonucleotides upon duplex formation: applications to the electrochemical detection of DNA