Detection of dangerous gases