Experimental study on the enhanced oil recovery by in situ foam formulation