Biological stability and dewaterability of CAS and MBR sludge