Baseline Wander Removal for Bioelectrical Signals by Quadratic Variation Reduction