Development of a tool for improving the management of gaseous emissions in UASB-based sewage treatment plants