Application of a novel constrained wavelet threshold denoising method in ensemble-based background-error variance