Iran's president vows revenge over slain military scientist