Impact of Gelation pH, Rock Permeability, and Lithology on the Performance of a Monomer-Based Gel