Structure calculation of proteins from solution and solid-state NMR data