Dynamic error analysis in A/D converters and waveform digitizers