calculate ph from co2 concentration