Detection and determination of harmful gases in confined spaces for the Internet of Things based on cataluminescence sensor