The NOESY jigsaw: automated protein secondary structure and main-chain assignment from sparse, unassigned NMR data