A general corrosion function in terms of atmospheric pollutant concentrations and rain pH