Relationship between sludge settleability and membrane fouling in a membrane bioreactor