Automatic first-order multiplet analysis in liquid-state NMR