SpectroscopyNet: Learning to pre-process Spectroscopy Signals without clean data