Determination of relative wettability of porous sandstones by imbibition studies