Peres all but clinches Israeli presidency