An Integrated Framework for Optimizing CO₂ Sequestration and Enhanced Oil Recovery