The entropic route to molecular recognition in gas sensing