In situ X-ray CT imaging of transient water retention experiments with cyclic drainage and imbibition