Application of electronic noses for disease diagnosis and food spoilage detection