The biological effect of metal ions on the granulation of aerobic granular activated sludge.