Water based-ionic liquid carbon dioxide sensor for applications in the food industry