The speciation of metals in sewage and activated sludge effluent