Evaluation of process conditions triggering emissions of green-house gases from a biological wastewater treatment system