Novel methods for automatic phase correction of NMR spectra