A new hardware approach to realize low-cost electronic noses