Study of structure and phase transition of some polycrystalline organic compounds by nuclear magnetic resonance