A Model for Calculating the Rates of General Corrosion of Carbon Steel and 13%Cr Stainless Steels in CO2/H2S Environments