Nuclear magnetic resonance studies of coal