The UN says the bombing of an Iranian school on the first day of US and Israeli attacks must be investigated as a possible war crime.