Israeli president shakes hands with leaders of Syria, Iran at Pope's funeral