The Impact of Ionic Liquid and Nanoparticles on Stabilizing Foam for Enhanced Oil Recovery