A sense of smell for a humanoid robot