Image analysis for estimating ultimate oil recovery efficiency by waterflooding for two sandstone reservoirs