New signal enhancement algorithms for one-dimensional and two-dimensional spectroscopic data