Effects of magnetic field on activity of activated sludge in wastewater treatment