Effects of an external magnetic field on the sedimentation of activated sludge