US ‘war on terror’ has spawned terror groups: Iran FM