Robust Odorant Recognition in Biological and Artificial Olfaction