On-line digital correction of the harmonic distortion in analog-to-digital converters