NMR studies of lamellar intercalation compounds