Displacement imaging in porous media using the line scan NMR technique