Moisture measurement with NMR