Obama defends Israel's right to protect itself