Iran has strongly condemned the use of white phosphorus bombs by Israel against civilians in Gaza and southern Lebanon, calling it a war crime.