Physicochemical Aspects of Activated Sludge in Relation to Stable Foam Formation