Signal-shape analysis of a thermally cycled tin-oxide gas sensor