Fluid dynamics of biological and mechanical olfaction