Petrophysical Principles of Applications of NMR Logging