Interpretation of the electrical properties of a SnO2 gas sensor after treatment with sulfur dioxide