Estimation and elimination of DC component in digital relaying