Peres sworn in as Israeli president