Study of Phase Transitions by Means of Nuclear Magnetic Resonance Phenomena