Time-resolved, in situ X-ray diffraction studies of intercalation in lamellar hosts