Determining the folding and unfolding rate constants of nucleic acids by biosensor. Application to telomere G-quadruplex.