NMR lineshape analysis of exchanging systems: mapping onto harmonic oscillator equations; a new analytically solvable case and experiments on K2C2O2•D2O