The general concept of signal–noise separation (SNS): mathematical aspects and implementation in magnetic resonance spectroscopy