Determination of ammonia and carbon dioxide in exhaust gases during composting of tobacco waste in a closed reactor