Dependence of ozone production on NO and hydrocarbons in the troposphere