Smart chemical sensing arrays using tin oxide sensors and analog winner-take-all signal processing