Zero temperature Glauber dynamics on complex networks