Iran says it is gathering evidence for legal action against Israel and US