Improved performance and increased applicability of waste stabilisation ponds by pretreatment in a UASB reactor