The effect of paleoatmospheric ozone on surface temperature