An Israeli air strike has killed at least 10 people and wounded about 30 others in a UN-run school in the southern Gaza Strip.