Joint Denoising and Narrowband Artifact Rejection for ECG Signals