Iran's foreign minister has condemned the killing of a Revolutionary Guards general in an Israeli air strike in Beirut that also killed the leader of Hezbollah.