Babar Azam finishes South Africa ODIs as No 1 ranked batsman