World leaders and allies of Iran have sent messages of condolences to Iran following the death of the country's president and foreign minister on Sunday.