Israeli police ban some Palestinians from entering Jerusalem's Old City after two Israelis were killed and three wounded in separate attacks.