Magnetic resonance imaging of the development of fronts during spontaneous imbibition