A novel wavelet‐based thresholding method for the pre‐processing of mass spectrometry data that accounts for heterogeneous noise