Accurate monitoring of x, y, and z magnetization for analysis of hardware and pulse sequence performance in NMR spectroscopy